@model LoginViewModel
@{
    ViewData["Title"] = "登录";
}
@section PYhead{
    <link href="~/css/Account.css" type="text/css" rel="stylesheet">
    <link href="~/css/lar.css" type="text/css" rel="stylesheet">
    <style>
        .validation-summary-errors ul {
            color: red;
            font-size: 15px;
            margin-left: 0;
            padding: 0;
            list-style-type: none;
        }
        .validation-summary-errors ul li {
            color: red;
            font-size: 15px;
            margin-left: 20px;
        }
    </style>
}

<div class="topbar">
    <ul class="itm">
        <li class="acitm" style="float: left;"><a asp-action="Index" asp-controller="Home">返回主页</a></li>
        <li class="acitm" style="float: right;">用户系统</li>
    </ul>
</div>
<div class="lgboard">
    <form asp-for="Login" asp-controller="Account" method="post">
        <p class="lgtitle">登录</p>
        <div asp-validation-summary="All"></div>
        <input type="text" class="inputer" asp-for="UserName" name="username" placeholder="请输入用户名">
        <input type="password" class="inputer" asp-for="PassWord" name="password" placeholder="请输入密码">
        <a asp-action="Register" asp-controller="Account"><p class="jumper">注册</p></a>
        <p class="fgpasswd">忘记密码?</p>
        <input type="submit" class="subm" name="submiter" value="登录">
    </form>
</div>
